package kata09.info;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 1. 定义商品
 */
@NoArgsConstructor
@Data
public class GoodsInfo {

    //商品名称
    private String name;
    //商品价格
    private BigDecimal price;

    public GoodsInfo(String name,BigDecimal price){
        this.name = name;
        this.price = price;
    }
}
